package com.player.rest.exception;

public class PropertyAlreadyExistsException extends Exception {

	private static final long serialVersionUID = 6556827765078297024L;

	private final String propertyName;
	private final Object propertyValue;
	private final String message;

	public PropertyAlreadyExistsException(String message, String propertyName, Object propertyValue) {
		super();
		this.message = message;
		this.propertyName = propertyName;
		this.propertyValue = propertyValue;
	}

	public String getMessage() {
		return message;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public Object getPropertyValue() {
		return propertyValue;
	}
}
